package cc.rengu.igas.channel.upgw.common.constant;

/**
 * Created by WKF on 2020-04-02
 *
 * @author WKF
 */
public class UpgwParamConstant {
    /*版本号*/
    public static final String VERSION_ID = "01";
    /*TODO: 核心 通道ID 由核心分配*/
    public static final String CHANNEL_ID = "11";
    /*TODO：ESB 请求ID 外围系统在ESB的编号 ESB分配 */
    public static final String REQUEST_ID = "0492";
    /**
     * ESB与支付平台的密钥标签
     */
    public static final String T_KEY_LABEL = "LM800BR0492";
    /*ESB成功状态码*/
    public static final String STATUS_SUCC = "COMPLETE";
    /*ESB失败状态码*/
    public static final String STATUS_FAIL = "FAIL";
    /*默认失败码*/
    public static final String DEFAULT_ERR_CODE = "00000001";
    /*默认失败描述*/
    public static final String DEFAULT_ERR_DESC = "交易明确失败";
    /**
     * ESB超时响应码
     */
    public static final String ESB_TIME_OUT_E000A703 = "E000A703";
    /**
     * 在银数的渠道号
     */
    public static final String UPDC_CHANNEL_ID = "ND";
    /**
     * 虚拟机构号
     */
    public static final String DEFAULT_VIRTUAL_INST_ID = "777777";
    /**
     * 核心通讯客户端通讯服务名称
     */
    public static final String UPGW_COMMUNICATION_SVC_NM = "UPGW-Client";
    /**
     * 核心通讯客户端通讯服务参数
     */
    public static final int UPGW_COMMUNICATION_SVC_LABEL = 0;
    /*功能码-9：查询；*/
    public static final String FUNC_QUERY = "9";
    /*功能码 -1-普通转账*/
    public static final String FUNC_NORMAL_TRANSFER = "1";
    /*功能码 -2-代理转账*/
    public static final String FUNC_AGENT_TRANSFER = "2";
    /*核心-人民币标识*/
    public static final String CURR_CODE_RMB = "01";
    /*密码缺省值-账号*/
    public static final String PSWD_DEFAULT = "ACCT-NO";
    /*密码缺省值-卡号*/
    public static final String PSWD_DEFAULT_CRD_NO = "CRD_NO";
    /*钞汇标志 -钞*/
    public static final String CURR_IDEN_CASH = "0";
    /*钞汇标志 -汇*/
    public static final String CURR_IDEN_EXCHANGE = "1";

    /*核心账户余额查询服务交易码*/
    public static final String CORE_ACCT_BALANCE_QUERY_SERVICE_ID = "00010000200000";

    /*默认手续费*/
    public static final String SVC_FEE = "0";
    /*核心以分为单位需补0至金额长度*/
    public static final int AMOUNT_LENGTH = 15;
    /*默认冲正原因*/
    public static final String RESVAL_REASON_DEFAULT = "原交易超时";
    /* Y  */
    public static final String YES_FLAG = "Y";
    /* N  */
    public static final String NO_FLAG = "N";
    /*磁道密码都不验 */
    public static final String CHK_PWD_ALL_NOT = "0";
    /*磁道密码都验 */
    public static final String CHK_PWD_ALL = "2";
    /*验密 */
    public static final String CHK_PWD = "1";
    /*转账*/
    public static final String TRANSFER = "2";
    /*现金*/
    public static final String CASH = "1";
    /*不校验*/
    public static final String CHK_ALL_NOT = "0";
    /*校验付款人*/
    public static final String CHK_PAYER = "1";
    /*不校验收款人*/
    public static final String CHK_PAYEE = "2";
    /*都校验*/
    public static final String CHK_ALL = "3";
    /*对账接入方式 - 中间业务*/
    public static final String TX_INI_CENTER_BUSI = "M";
    /*对账对账方式 - 全行对账*/
    public static final String PROCESS_FLG_WHOLE = "1";
    /*对账对账方式 - 分机构对账*/
    public static final String PROCESS_FLG_BRANCHES = "0";
    /*代理-代理类别-代扣*/
    public static final String COLLC_TYP_WITHHOLD = "3";
    /*线上收银台没有终端号时默认的终端号*/
    public static final String DEFAULT_VIRTUAL_TERM_NO = "待确认";
    /*服务点输入方式码 --无卡*/
    public static final String ENTRY_CODE_NO_CARD = "012";
    /*服务点条件码 --00 -消费*/
    public static final String CON_CODE_CONSUME = "00";
    /*网关本行贷记卡支付描述*/
    public static final String GATEWAY_BANK_CREDIT_PAY_DESC = "本行网关贷记卡支付";
    /*网关本行贷记卡支付退款描述*/
    public static final String GATEWAY_BANK_CREDIT_PAY_REFUND_DESC = "本行网关贷记卡支付退款";
    /*本行贷记卡POS刷卡支付描述*/
    public static final String BANK_CREDIT_POS_SWIPE_PAY_DESC = "本行贷记卡POS刷卡支付描述";
    /*本行贷记卡POS刷卡支付退货描述*/
    public static final String BANK_CREDIT_POS_SWIPE_PAY_REFUND_DESC = "本行贷记卡POS刷卡支付退货";
    /*本行贷记卡POS刷卡支付冲正描述*/
    public static final String BANK_CREDIT_POS_SWIPE_PAY_RESVAL_DESC = "本行贷记卡POS刷卡支付冲正";
    /*本行贷记卡POS刷卡支付撤销冲正描述*/
    public static final String BANK_CREDIT_POS_SWIPE_PAY_CANCEL_RESVAL_DESC = "本行贷记卡POS刷卡支付撤销冲正";
    /*人民币*/
    public static final String RMB = "156";
    /*本行贷记卡POS刷卡分期支付冲正描述*/
    public static final String BANK_CREDIT_POS_SWIPE_INSTALL_PAY_RESVAL_DESC = "本行贷记卡POS刷卡分期支付冲正";
    /**
     * 分期试算交易码
     */
    public static final String TRXTYPE_INSTALL_TRIAL = "4089";
    /**
     * 银数金额长度
     */
    public static final int UPDC_AMOUNT_LENGTH = 12;
    /**
     * 试算选项--分期计划
     */
    public static final String OPT_PLAN = "1";
    /**
     * 试算选项--分期产品
     */
    public static final String OPT_PROD = "2";
    /**
     * 39域应答成功
     */
    public static final String SUCCESS_39_00 = "00";
    /**
     * 39域应答超时
     */
    public static final String TIMEOUT_39_98 = "98";
    /*本行贷记卡POS刷卡预授权完成冲正描述*/
    public static final String BANK_CREDIT_POS_SWIPE_AUTH_COMP_RESVAL_DESC = "本行贷记卡POS刷卡预授权完成冲正";
    /**
     * 功能号-汇总对账
     */
    public static final Object FUNC_SUMMARY_RECOGN = "1";
    /**
     * 功能号-明细对账
     */
    public static final Object FUNC_DETAIL_RECOGN = "5";
    /**
     * 7251对账接口查询类型  1-外围系统日期+系统编号+子系统编号
     */
    public static final String QUERY_TYPE_1 = "1";
    /**
     * 输出方式 -0=详细
     */
    public static final String OUTPUT_FORM_FMT_DETAIL = "0";
    /**
     * 输出方式 -1=精简
     */
    public static final String OUTPUT_FORM_FMT_LITE = "1";

    public static final String PSWD_DEFAULT_CUST_ACCT_NO = "CUST-ACCT-NO";
    /**
     * 当日明细和历史明细查询标志
     */
    public static final String CURRDATE_OR_HISTORY_QUERY_FLAG = "CH_FLAG";
    /**
     * 当日查询标志
     */
    public static final String CURRDATE_QUERY_FLAG = "0";
    /**
     * 两者都查
     */
    public static final String ALL_QUERY_FLAG = "2";
    /**
     * 历史查询标志
     */
    public static final String HISTORY_QUERY_FLAG = "1";
    /**
     * 当日明细查询
     */
    public static final String CURRDATE_QUERY_TXN_NUM = "00010000787500";
    /**
     * 历史明细查询
     */
    public static final String HISTORY_QUERY_TXN_NUM = "00010000787300";
    /**
     * 消息类型
     */
    public static final String MSG_TYPE_CBPS = "CBPS";
    /**
     * 手续费支出方
     */
    public static final String FEE_CODE_OUR = "OUR";
    /**
     * 发送系统标识
     */
    public static final String SND_SYS_COD_CBPS = "CBPS";
    /**
     * UX积分系统版本号
     */
    public static final String UX_SCORE_VERSION = "V1.0";
    /**
     * UX积分系统服务名-账户信息查询
     */
    public static final String UX_SCORE_SERVICE_ACCT_INFO_QUERY = "qurpointacc";
    /**
     * UX积分系统服务名-交易明细查询
     */
    public static final String UX_SCORE_SERVICE_TRANS_DETAIL_QUERY = "qurpointacctran";
    /**
     * UX积分系统服务名-积分交易
     */
    public static final String UX_SCORE_SERVICE_TRANS = "pointacctran";
    /**
     * UX积分系统服务名-积分冲正交易
     */
    public static final String UX_SCORE_SERVICE_REVSAL = "pointaccreverse";
    /**
     * UX积分系统服务名-积分转让交易
     */
    public static final String UX_SCORE_SERVICE_TRANSFER = "pointacctransfer";
    /**
     * UX积分系统认证码  TODO：未分配
     */
    public static final String UX_SCORE_AUTHCODE = "";
    /**
     * UX积分系统交易渠道 TODO：未分配
     */
    public static final String UX_SCORE_TRANCHANNEL = "";
    /**
     * UX积分系统成功应答码
     */
    public static final String UX_SCORE_SUCCESS = "0000";
    /**
     * UX积分系统借贷标志-贷
     */
    public static final String UX_SCORE_CREDIT = "C";
    /**
     * UX积分系统借贷标志-借
     */
    public static final String UX_SCORE_DEBIT = "D";
    /**
     * UX积分系统成功应答码 - 业务成功(冲正)
     */
    public static final String UX_SCORE_BUSI_SUCCESS = "1001";
    /**
     * 默认接入方式：M-中间业务
     */
    public static final String DEFAULT_ACCESSMODE = "M";
    /**
     * 检查通兑 - 不检查通兑
     */
    public static final String NOT_CHK_EXCHANGE = "1";
    /**
     * 检查通兑 - 检查通兑
     */
    public static final String CHK_EXCHANGE = "0";
    /**
     * 电子账户余额 默认值
     */
    public static final String DEFAULT_EC_BAL = "000000000000";
    /**
     * XBUS交易标志  收单-5
     */
    public static final String POS_SYS_FLAG = "5";
    /**
     * 报文类型 - 人行小额
     */
    public static final String MSG_TYPE_BEPS = "beps.121.001.01";
    /**
     * 报文类型 - 人行大额
     */
    public static final String MSG_TYPE_HVPS = "hvps.111.001.01";
    /**
     * 发送系统号-人行小额
     */
    public static final String SND_SYS_COD_BEPS = "BEPS";
    /**
     * 发送系统号-人行大额
     */
    public static final String SND_SYS_COD_HVPS = "HVPS";
    /**
     * 转账汇款客户交易回单-通用
     */
    public static final String TRANSFER_RECEIPT_GENERAL = "010201";
    /**
     * 提现上送子系统编号
     */
    public static final String SUB_SYS_ID_CASH_OUT = "0006";
    /**
     * D0实时入账上送子系统编号
     */
    public static final String SUB_SYS_ID_D0_REALTIME = "0007";
    /**
     * 本行卡交易上送子系统编号--本行(借贷记)快捷支付;本行(借贷记)网关支付
     */
    public static final String SUB_SYS_ID_BANK_TRANS = "0000";
    public static final String QUICK_BANK_CREDIT_PAY_DESC = "本行贷记卡快捷支付";
    public static final String QUICK_BANK_CREDIT_PAY_REFUND_DESC = "本行贷记卡快捷支付退款";
    public static final String TX_TYPE_PAYMENT = "12";
    public static final String CLEAR_BUSI_TYPE_TRANSFER_PAYMENT = "1";
    /*业务功能 - 全额消费*/
    public static final String BIZ_FUNC_UPGW_FULL_PAYMENT = "111011";
    /*初始交易类型 - 个人支付*/
    public static final String INITRXTP_PERSONAL = "1005";
    /*初始交易类型 - 企业支付*/
    public static final String INITRXTP_ENTERPRISE = "1011";
    /*业务功能-全额消费退款*/
    public static final String BIZ_FUNC_UPGW_FULL_PAYMENT_REFUND = "411011";
    public static final String INQFUNCTION_GATEWAY = "0";
}
